import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'
import ElementUI from 'element-ui';
import VCharts from 'v-charts'
import 'element-ui/lib/theme-chalk/index.css';
import Moment from 'moment'
import dataV from '@jiaminghi/data-view';
Vue.use(dataV);

// import Global from './global'
// Vue.prototype.$g = Global;
Vue.use(ElementUI);
Vue.prototype.moment = Moment
Vue.use(VueAxios, axios);
Vue.prototype.$axios = axios
Vue.use(VCharts);
axios.defaults.baseURL = 'http://172.16.10.58:8088/'

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
